from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    # 数据库设置
    database_hostname: str
    database_port: int
    database_password: str
    database_name: str
    database_username: str

    # 其他设置
    music_download_dir: str = "/app/music_files"

    class Config:
        env_file = ".env"

settings = Settings() 